package com.hry.myapp.beans;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class WXAppInfo {
	
	
	
	@Value("${wxappinfo.cookie.expire}")
	private int cookieExpire ;
	
	@Value("${wxappinfo.appid}")
	private String appid;
	
	@Value("${wxappinfo.secret}")
	private String secret ;
	
	@Value("${wxappinfo.openUrl}")
	private String openUrl ;
	
	@Value("${wxappinfo.authCode}")
	private String authCode ;
	
	


	public int getCookieExpire() {
		return cookieExpire;
	}

	public void setCookieExpire(int cookieExpire) {
		this.cookieExpire = cookieExpire;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public String getOpenUrl() {
		return openUrl;
	}

	public void setOpenUrl(String openUrl) {
		this.openUrl = openUrl;
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}
	
	

}
